package com.wlcj.www.model.main;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class Tag extends Model<Tag>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    public static Tag dao = new Tag();
    public List<Tag> getList(Integer contentId){
    	String sql = "select jct.* from jc_content_tag jct,jc_contenttag jcs where jct.tag_id = jcs.tag_id and jcs.content_id = ?";
     	return find(sql,contentId);
    }
}
